<style>
#bannerImageCut{
	max-width:100%;
	max-height:300px;
}
</style>
<div style="width:600px;text-align:center;">
	<img src="" alt="" id="bannerImageCut"/>
</div>
<div style="text-align:center;padding:10px 0;">
	<input type="file" (change)="previewImage($event);" id="bannerImage" style="display:none;"/>
	<button onclick="bannerImage.click();">选择图片</button>
	<button style="margin-left:100px;" (click)="upload();">保存banner</button>
</div>